<html>

<head>
  <script type="text/javascript" src="{{ url_for('static', filename = 'hello.js') }}"></script>
</head>

<body>
  <p>接收到的name:</p>
  <p>{{name}}</p>
  <input type="button" onclick="sayHello('{{name}}')" value="Say Hello" />
</body>

</html>